$OpenBSD: patch-src_dynamic-preprocessors_ftptelnet_Makefile_in,v 1.14 2015/05/29 03:28:18 lteo Exp $
--- src/dynamic-preprocessors/ftptelnet/Makefile.in.orig	Thu Apr 23 20:28:27 2015
+++ src/dynamic-preprocessors/ftptelnet/Makefile.in	Sun May 24 17:20:10 2015
@@ -351,7 +351,7 @@ top_srcdir = @top_srcdir@
 AUTOMAKE_OPTIONS = foreign no-dependencies
 dynamicpreprocessordir = ${libdir}/snort_dynamicpreprocessor
 dynamicpreprocessor_LTLIBRARIES = libsf_ftptelnet_preproc.la
-libsf_ftptelnet_preproc_la_LDFLAGS = -export-dynamic -module @XCCFLAGS@
+libsf_ftptelnet_preproc_la_LDFLAGS = -export-dynamic -module -avoid-version @XCCFLAGS@
 @SO_WITH_STATIC_LIB_TRUE@libsf_ftptelnet_preproc_la_LIBADD = ../libsf_dynamic_preproc.la
 @SO_WITH_STATIC_LIB_FALSE@nodist_libsf_ftptelnet_preproc_la_SOURCES = \
 @SO_WITH_STATIC_LIB_FALSE@../include/sf_dynamic_preproc_lib.c \
@@ -605,7 +605,7 @@ distdir: $(DISTFILES)
 	done
 check-am: all-am
 check: check-am
-all-am: Makefile $(LTLIBRARIES) all-local
+all-am: Makefile $(LTLIBRARIES)
 installdirs:
 	for dir in "$(DESTDIR)$(dynamicpreprocessordir)"; do \
 	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
